package com.cxx.purchasecharge.component.bean.usersecurity;

import java.util.List;

import com.cxx.purchasecharge.component.bean.BaseBean;
import com.cxx.purchasecharge.core.config.PurchaseChargeProperties;
import com.cxx.purchasecharge.core.model.GenderCode;

public class UserBean extends BaseBean
{
    private static final long serialVersionUID = 1L;

    private String id;
    private String userId;
    private String pwd = PurchaseChargeProperties.getDefaultPassword ();
    private boolean enable = true;
    private boolean system = false;

    private String firstName;
    private String lastName;
    private GenderCode genderCode = GenderCode.UNKNOWN;
    private String phone;
    private String qq;
    private String bod;
    private String academy;
    private String degree;
    private String birthAddress;
    private String liveAddress;
    private String email;
    private String comments;

    private List <RoleBean> roleBeans;

    public String getId ()
    {
        return id;
    }

    public void setId (String id)
    {
        this.id = id;
    }

    public String getUserId ()
    {
        return userId;
    }

    public void setUserId (String userId)
    {
        this.userId = userId;
    }

    public String getPwd ()
    {
        return pwd;
    }

    public void setPwd (String pwd)
    {
        this.pwd = pwd;
    }

    public String getFirstName ()
    {
        return firstName;
    }

    public void setFirstName (String firstName)
    {
        this.firstName = firstName;
    }

    public String getLastName ()
    {
        return lastName;
    }

    public void setLastName (String lastName)
    {
        this.lastName = lastName;
    }

    public GenderCode getGenderCode ()
    {
        return genderCode;
    }

    public void setGenderCode (GenderCode genderCode)
    {
        this.genderCode = genderCode;
    }

    public boolean isEnable ()
    {
        return enable;
    }

    public void setEnable (boolean enable)
    {
        this.enable = enable;
    }

    public boolean isSystem ()
    {
        return system;
    }

    public void setSystem (boolean system)
    {
        this.system = system;
    }

    public String getPhone ()
    {
        return phone;
    }

    public void setPhone (String phone)
    {
        this.phone = phone;
    }

    public String getQq ()
    {
        return qq;
    }

    public void setQq (String qq)
    {
        this.qq = qq;
    }

    public String getDegree ()
    {
        return degree;
    }

    public void setDegree (String degree)
    {
        this.degree = degree;
    }

    public String getComments ()
    {
        return comments;
    }

    public void setComments (String comments)
    {
        this.comments = comments;
    }

    public String getBod ()
    {
        return bod;
    }

    public void setBod (String bod)
    {
        this.bod = bod;
    }

    public String getAcademy ()
    {
        return academy;
    }

    public void setAcademy (String academy)
    {
        this.academy = academy;
    }

    public String getBirthAddress ()
    {
        return birthAddress;
    }

    public void setBirthAddress (String birthAddress)
    {
        this.birthAddress = birthAddress;
    }

    public String getLiveAddress ()
    {
        return liveAddress;
    }

    public void setLiveAddress (String liveAddress)
    {
        this.liveAddress = liveAddress;
    }

    public String getEmail ()
    {
        return email;
    }

    public void setEmail (String email)
    {
        this.email = email;
    }

    public List <RoleBean> getRoleBeans ()
    {
        return roleBeans;
    }

    public void setRoleBeans (List <RoleBean> roleBeans)
    {
        this.roleBeans = roleBeans;
    }
}
